package com.framework.admin.enums;

public class DeptEnums {
	
	public static enum TypeEnum {
		COMPANY(1, "公司"), DEPT(5, "部门");
		
		private Integer value;
		
		private String desc;
		
		private TypeEnum (Integer value, String desc) {
			this.value = value;
			this.desc = desc;
		}

		public Integer getValue() {
			return value;
		}

		public void setValue(Integer value) {
			this.value = value;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
	}
	
	public static enum StatusEnum {
		ENABLE("1", "启用"), FROZEN("0", "冻结");
		
		private String value;
		
		private String desc;
		
		private StatusEnum (String value, String desc) {
			this.value = value;
			this.desc = desc;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
	}
}
